import { configureStore } from '@reduxjs/toolkit'
import info from './Info'

export const store = configureStore({
  reducer: {info},
})

// 导出 RootState 类型
export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch

export default store